package com.sj.uabrowser.app;


import com.sj.uabrowser.BuildConfig;
import com.sj.uabrowser.R;

import java.io.Serializable;

public interface Constant {
    String SERVER = "http://ws.vk7201.com/";
    String CATLIST = "v_api/v1/cat_list";
    String RUISHIDATA = "v_api/v1/news";
    String VIDEOURL = "https://shipin.fv215b183.com/";
    String MAINFUNCS = "http://ws.vk7201.com/";
    String MAIN_URL ="http://tianqi.2345.com/";
    String TIANQI_BASEURL = "http://tianqi.vk7201.com/";
    String ReleaseBaseUrl = "https://api-browser.kankanvideo.com/v1/";
    String DebugBaseUrl = "https://api-test.kankanvideo.com/v1/";
    String ReleaseBaseUrl0 = "https://api-browser.kankanvideo.com/";
    String DebugBaseUrl0 = "https://api-test.kankanvideo.com/";
    String BaseUrl = SERVER;
//            BuildConfig.API_ENV?ReleaseBaseUrl:DebugBaseUrl;
    String BaseUrl0 = BuildConfig.API_ENV?ReleaseBaseUrl0:DebugBaseUrl0;//用户协议使用+统计分析使用
    String AppId = "9385618";
    String AppSecret = "1026fcac2d68792289d8628511a63e0241e4c0b9";
//    String AccessKeySecret = "59ff3a2e609138a2e9c8fd9f5e079035";

    int PID = 21;
    String share_url = "https://api-test.kankanvideo.com/download.php?version=sj_v1.0.0_1_release_qq_20190309_aligned_signed-mm";
    String WX_APP_ID = "wxd2988730ae897d2b";

    String[] news_titles = {
            "头条","社会","国内","国际","娱乐","科技","军事","时尚","财经",
            "游戏","汽车","笑话","健康","体育","星座","科学","互联网","数码"
    };
    String[] news_types = {
            "toutiao","shehui","guonei","guoji","yule","keji","junshi","tiyu","shishang", "caijing",
            "youxi","qiche","xiaohua","jiankang","tiyu","xingzuo","kexue","hulianwang","shuma"
    };

    String[] oper_titles={
//            "历史/收藏","下载","工具箱",
//            "夜间模式","多窗口"/*,"刷新"*/,"退出",
            "分享","收藏列表","历史记录","下载文件",
            "无痕模式","清除痕迹"/*,"多窗口"*/,"设置",
    };
    int[] oper_resIds = {
            R.mipmap.fenxiang,R.mipmap.shoucang,R.mipmap.history,R.mipmap.download,
            R.mipmap.wuhen,R.mipmap.qingchu/*,R.mipmap.chuangkou*/,R.mipmap.shezhi
    };



    Class[] opers_clz = {null,null, null,null,null,null, /*null,*/null};

    String[] tool_names ={"无图模式","检查更新"};
//    int[] tool_resIds = {R.mipmap.wutumoshi,R.mipmap.jianchagengxin};
//    int[] tool_resIds_night = {R.mipmap.wutumoshi_ye,R.mipmap.jianchagengxin_ye};

    int FONTSIZE_SMALL = 14;
    int FONTSIZE_NORMAL = 16;
    int FONTSIZE_LARGE = 22;

    String navs = "{\"ad_list\":[{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/26/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/60a14f886ca10cf9eed13eb746edadb5.png\",\"index\":1,\"title\":\"百度搜索\",\"type\":1,\"url\":\"https://m.baidu.com/?from\\u003d1022925z\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/27/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/3aae5f87ef7a830d4b42b43a67f01950.png\",\"index\":2,\"title\":\"搜狐\",\"type\":1,\"url\":\"http://www.sohu.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/28/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/e7ab247b25d1d7b3516e92fe9fe84ccd.png\",\"index\":3,\"title\":\"新浪\",\"type\":1,\"url\":\"https://sina.cn\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/29/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/c7918c35d9e73e64c3552e0f047ff62e.png\",\"index\":4,\"title\":\"淘宝网\",\"type\":1,\"url\":\"https://www.taobao.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/30/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/436213a2d012d3cd439d4cd597111c24.png\",\"index\":5,\"title\":\"京东商城\",\"type\":1,\"url\":\"https://www.jd.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/31/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/4077030ec4307204fc472d4e8c997406.png\",\"index\":6,\"title\":\"苏宁易购\",\"type\":1,\"url\":\"https://www.suning.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/32/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/9fb326efaf873e8cb5eb3e1f15fec1aa.jpg\",\"index\":7,\"title\":\"什么值得买\",\"type\":1,\"url\":\"https://www.smzdm.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/33/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/23bcc27088b548d3513d0e1116b9182b.png\",\"index\":8,\"title\":\"瓜子二手车\",\"type\":1,\"url\":\"https://m.guazi.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/34/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/5de3f2db9f899c4c3a806b1acc47ba5f.png\",\"index\":9,\"title\":\"携程旅游\",\"type\":1,\"url\":\"https://www.ctrip.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/35/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/2590a9572b90c80a2189e0bfd4ff9644.png\",\"index\":10,\"title\":\"58同城\",\"type\":1,\"url\":\"https://sh.58.com\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/36/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/46ce91d47aba0bf1da6047b72b85650b.png\",\"index\":11,\"title\":\"影视大全\",\"type\":1,\"url\":\"https://cpu.baidu.com/1033/e822a1ae?scid\\u003d36893\"},{\"clk_url\":\"http://ws.vk7201.com/v_api/v1/a/37/c1\",\"icon\":\"http://ws.vk7201.com/uploads/images/2ad94945c8139e01801eb293325e60ce.png\",\"index\":12,\"title\":\"优酷\",\"type\":1,\"url\":\"https://www.youku.com\"}],\"search_url\":\"https://m.baidu.com/from\\u003d1022925z/s?word\\u003d\"}\n";

    String[] fontSizeTitles = {"小", "中", "标准", "大", "超大"};
    int[] fontSizes = {12, 14, 16, 18, 22};
    String URL_SEARCH_BAIDU = "http://www.baidu.com/s?from=";

    interface AppSetting{
        String SHPNAME = "SETTING";
        String typeface = "typeface";
    }

    interface ReceiverAction{
        String TYPEFACE_ACTION = "font.TYPEFACE_CHANGE";
    }

    interface Typeface{
        String fzjhjt = "fonts/fzjhjt.ttf";//粗体
        String fzmwt = "fonts/fzmwt.ttf";//方正准圆
        String fzpxt = "fonts/fzpxt.ttf";//华文彩云
        String fzqgjt = "fonts/fzqgjt.ttf";//华文行楷
        String fzsxslkt = "fonts/fzsxslkt.ttf";
        String fzxy = "fonts/fzxy.ttf";//华文新宋
        String fzyhjt = "fonts/fzyhjt.ttf";//华文新魏
        String fzys = "fonts/fzys.ttf";//幼圆
    }

    enum CpuChannel implements Serializable {
        /**
         * 娱乐频道
         */
        CHANNEL_ENTERTAINMENT(1001),
        /**
         * 本地频道
         */
        CHANNEL_LOCAL(1080),
        /**
         * 体育频道
         */
        CHANNEL_SPORT(1002),
        /**
         * 图片频道
         */
        CHANNEL_PICTURE(1003),
        /**
         * 手机频道
         */
        CHANNEL_MOBILE(1005),
        /**
         * 财经频道
         */
        CHANNEL_FINANCE(1006),
        /**
         * 汽车频道
         */
        CHANNEL_AUTOMOTIVE(1007),
        /**
         * 房产频道
         */
        CHANNEL_HOUSE(1008),
        /**
         * 热点频道
         */
        CHANNEL_HOTSPOT(1021);

        private int value;

        private CpuChannel(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }

    }

}
